package IMIC.NGUYENVANTINH.OOP.LEVEL2.EX4;

public class Rectangle {
	private double width;
	private double height;
	private String color;
	
	//Constructor
	public Rectangle(){
		this.height = 1.0;
		this.width  = 1.0;
		this.color  = "White";
	}
	public Rectangle(double width,double height){
		this.height = height;
		this.width  = width;
	}
	
	/**
	 * @return the width
	 */
	public double getWidth() {
		return width;
	}
	/**
	 * @param width the width to set
	 */
	public void setWidth(double width) {
		this.width = width;
	}
	/**
	 * @return the height
	 */
	public double getHeight() {
		return height;
	}
	/**
	 * @param height the height to set
	 */
	public void setHeight(double height) {
		this.height = height;
	}
	/**
	 * @return the color
	 */
	public String getColor() {
		return color;
	}
	/**
	 * @param color the color to set
	 */
	public void setColor(String color) {
		this.color = color;
	}

}
